package vip.xiaonuo.modular.manage.tsdatarecord.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tencentcloudapi.dcdb.v20180411.models.DatabaseTable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import vip.xiaonuo.core.pojo.base.entity.BaseEntity;

import java.util.List;

/**
 * 数据表头
 *
 * @author JackLee
 * 2022/8/8 16:22
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("base_data_table")
public class BaseDataTable extends BaseEntity {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private Long recordId;

    private String title;

    private String dataIndex;

    /**
     * 原始字段名
     */
    private String aliasName;

    private Integer sort;

    @TableField(exist = false)
    private Long typeId;

}
